]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agologinDialog: fix cancel from "Not Listed?"
Ray Strode [Wed, 6 Feb 2013 22:40:02 +0000 (17:40 -0500)]
loginDialog: fix cancel from "Not Listed?"

Since commit 1ae0fadbf483128e27565baba6e8684bc5defca2 we
no longer start a PAM conversation as soon as the user clicks
the "Not Listed?" button.  Instead we defer starting the PAM
conversation until the user types their username.

Unfortunately, the cancel button resets the dialog back to the
user list indrectly by cancelling the current PAM conversation.

This means if the user hasn't yet entered thier username then
the cancel button doesn't work.

This commit performs a direct dialog reset in the case the
PAM conversation hasn't been started yet.

https://bugzilla.gnome.org/show_bug.cgi?id=693756

13 years agoappDisplay: Fix _ensureIconVisible()
Florian Müllner [Mon, 18 Feb 2013 21:18:09 +0000 (22:18 +0100)]
appDisplay: Fix _ensureIconVisible()

The fade effect was renamed a while ago, but we missed to update
the use in _ensureIconVisible().

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoscroll-view-fade: Fix [vh]fade_offset property getters
Florian Müllner [Mon, 18 Feb 2013 21:16:28 +0000 (22:16 +0100)]
scroll-view-fade: Fix [vh]fade_offset property getters

The two were mixed up all along, and nobody noticed ...

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoshellEntry: Don't navigate forward before popping up the menu
Jasper St. Pierre [Mon, 18 Feb 2013 21:06:53 +0000 (16:06 -0500)]
shellEntry: Don't navigate forward before popping up the menu

Doing it before the grab messes up the grab helper's tracking
of where the focus was before, leading to it not tracking the
saved focus correctly, meaning that when we pop the menu back
down with escape, it doesn't restore focus correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=694123

13 years agoshellEntry: Add an animation when opening the menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:44 +0000 (15:55 -0500)]
shellEntry: Add an animation when opening the menu

13 years agobackgroundMenu: Don't add an animation to the background menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:51:48 +0000 (15:51 -0500)]
backgroundMenu: Don't add an animation to the background menu

We don't do this for shell entries nor for the message tray
context menu, so it doesn't make sense to do it here, either.

13 years agoshellEntry: Add a modeline
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:30 +0000 (15:55 -0500)]
shellEntry: Add a modeline

13 years agomessageTray: Animate the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:56:21 +0000 (21:56 +0100)]
messageTray: Animate the context menu

Use animation for opening and closing the menu.

13 years agomessageTray: Use 'Clear Message' instead of 'Clear for the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:54:07 +0000 (21:54 +0100)]
messageTray: Use 'Clear Message' instead of 'Clear for the context menu

13 years agobackgroundMenu: Fix a string
Jasper St. Pierre [Mon, 18 Feb 2013 20:46:27 +0000 (15:46 -0500)]
backgroundMenu: Fix a string

The proper terminology is "Background". And while we're at it,
use a real ellipsis.

13 years agoRun the startup animation when we don't have much going on
Jasper St. Pierre [Thu, 14 Feb 2013 03:45:43 +0000 (22:45 -0500)]
Run the startup animation when we don't have much going on

Starting the startup animation when we don't have that much IO
makes it a lot more visible.

Based on a patch by Giovanni Campagna <gcampagna@src.gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agomain: defer startup until we know our session mode
Ray Strode [Mon, 18 Feb 2013 04:02:52 +0000 (23:02 -0500)]
main: defer startup until we know our session mode

commit 92083eaf76fc7a5c2ecdd182896583ab5026ddf0 made
session mode loading an asynchronous operation.

Aspects of the session mode aren't known immediately at
start up. For instance, sessionMode.isGreeter returns
false for greeter sessions until the asynchronous
operation completes.

This commit defers start up processing until the session
mode is fully known.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agobackgroundMenu: Add a context menu on the background actor
Jasper St. Pierre [Fri, 21 Dec 2012 12:55:00 +0000 (07:55 -0500)]
backgroundMenu: Add a context menu on the background actor

Allow users to change their wallpaper and launch System Settings
from it.

https://bugzilla.gnome.org/show_bug.cgi?id=681540

13 years agoDon't call beginItemDrag() for XDND
Cosimo Cecchi [Sun, 17 Feb 2013 19:40:52 +0000 (14:40 -0500)]
Don't call beginItemDrag() for XDND

The dragged actors are not overview items.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoappDisplay: remove unused parameter to AppWellIcon constructor
Cosimo Cecchi [Mon, 18 Feb 2013 04:08:41 +0000 (23:08 -0500)]
appDisplay: remove unused parameter to AppWellIcon constructor

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoxdndHandler: Add the dummy actor to the uiGroup
Jasper St. Pierre [Fri, 15 Feb 2013 06:58:21 +0000 (01:58 -0500)]
xdndHandler: Add the dummy actor to the uiGroup

While this isn't too urgent, since this won't break if we don't have
a drag actor, I was wondering what the other child in my stage was.

13 years agomessageTray: Don't allow opening while entering/leaving the overview
Jasper St. Pierre [Sun, 17 Feb 2013 19:26:04 +0000 (14:26 -0500)]
messageTray: Don't allow opening while entering/leaving the overview

The complex overview transition code means that there's no easy
way to handle with this right now. Blocking the message tray
while the overview is animating seems like the correct thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Jiggle some code around
Jasper St. Pierre [Sun, 17 Feb 2013 19:30:04 +0000 (14:30 -0500)]
messageTray: Jiggle some code around

This is to put state management with state management

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Drop more special overview handling
Jasper St. Pierre [Sun, 17 Feb 2013 18:38:10 +0000 (13:38 -0500)]
messageTray: Drop more special overview handling

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Re-add the hotcorner when the panel is updated
Jasper St. Pierre [Sun, 17 Feb 2013 04:28:29 +0000 (23:28 -0500)]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agotheme: Clean up and merge window-caption definitions
Jasper St. Pierre [Mon, 18 Feb 2013 19:09:49 +0000 (14:09 -0500)]
theme: Clean up and merge window-caption definitions

13 years agooverviewControls: don't perform translation when target is met already
Cosimo Cecchi [Mon, 18 Feb 2013 19:17:29 +0000 (14:17 -0500)]
overviewControls: don't perform translation when target is met already

Fixes a regression from ccb81919f79f9f684234deb8f6b1fcdaae3e7965

13 years agouserMenu: Use the session id to detect the current session
Adel Gadllah [Mon, 18 Feb 2013 17:03:13 +0000 (18:03 +0100)]
userMenu: Use the session id to detect the current session

This allows us to detect startx sessions.

https://bugzilla.gnome.org/show_bug.cgi?id=693896

13 years agooverview: Don't display minimized windows differently in the overview
Adel Gadllah [Sun, 17 Feb 2013 13:20:34 +0000 (14:20 +0100)]
overview: Don't display minimized windows differently in the overview

Making them not fully opaque just makes them harder to see and there is no reason why the user should care whether the window is minimized or not when
switching to a window display them like any other windows.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agopopupMenu: Close all child menus when the main menu is closed
Jasper St. Pierre [Sat, 16 Feb 2013 18:43:01 +0000 (13:43 -0500)]
popupMenu: Close all child menus when the main menu is closed

Otherwise, if something managed to call close(), it wouldn't
close any child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Move child menus to be a PopupMenu-only thing
Jasper St. Pierre [Sat, 16 Feb 2013 18:42:17 +0000 (13:42 -0500)]
popupMenu: Move child menus to be a PopupMenu-only thing

It doesn't make sense for combo menus, sections, or submenus
to have child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Remove support for nested combo boxes
Jasper St. Pierre [Mon, 18 Feb 2013 01:02:09 +0000 (20:02 -0500)]
popupMenu: Remove support for nested combo boxes

I'm sure this was originally a testcase for nested child
menus, and we never actually inteded any support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agoMinimize fullscreen windows when they end up in the background
Adel Gadllah [Mon, 18 Feb 2013 18:26:13 +0000 (19:26 +0100)]
Minimize fullscreen windows when they end up in the background

Alt-Tab away from a monitor sized on the primary monitor results into the top
panel being displayed on top of the window which looks very bad.

So just hide those windows by minimizing them.

The icon geometry animation does not really make sense for fullscreen windows
so just fade them out.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agolayout: Fix tray barrier never getting destroyed
Jasper St. Pierre [Mon, 18 Feb 2013 09:45:06 +0000 (04:45 -0500)]
layout: Fix tray barrier never getting destroyed

Due to a typo, we accidentally set trayPressure to null,
making the next branch always fail.

https://bugzilla.gnome.org/show_bug.cgi?id=694070

13 years agoStEntry: reset the cursor when unmapped
Giovanni Campagna [Mon, 18 Feb 2013 00:47:34 +0000 (01:47 +0100)]
StEntry: reset the cursor when unmapped

We cannot reset the cursor at the next leave event, as that might
happen on a NULL stage and cause a BadWindow error, so do it on
unmap (which is guaranteed to happen before the stage is cleared).

https://bugzilla.gnome.org/show_bug.cgi?id=694057

13 years agoOverviewControl: simplify code to add bottom padding
Giovanni Campagna [Mon, 18 Feb 2013 15:25:28 +0000 (16:25 +0100)]
OverviewControl: simplify code to add bottom padding

All the complexity with a custom actor and a generic container was
just to add some padding below the overview controls. Remove that,
and use CSS instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694100

13 years agoRemove builtin settings search provider
Giovanni Campagna [Fri, 28 Dec 2012 17:03:13 +0000 (18:03 +0100)]
Remove builtin settings search provider

It is now provided as a remote provider by gnome-control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=690824

13 years agokeyboard: track XKB group configuration change
Daiki Ueno [Mon, 18 Feb 2013 03:01:04 +0000 (12:01 +0900)]
keyboard: track XKB group configuration change

Since GNOME 3.6, switching XKB layouts changes the group
configuration.  This patch tries to track group configuration changes
and reconstruct UI as needed.  See also caribou bug#694011.

https://bugzilla.gnome.org/show_bug.cgi?id=681735

13 years agol10n: Updated Italian translation
Luca Ferretti [Mon, 18 Feb 2013 13:58:03 +0000 (14:58 +0100)]
l10n: Updated Italian translation

13 years agooverviewControls: update slide in translations from pageEmpty
Cosimo Cecchi [Mon, 18 Feb 2013 06:25:54 +0000 (01:25 -0500)]
overviewControls: update slide in translations from pageEmpty

Now that we unified animation times, move in controls together with the
new view.

https://bugzilla.gnome.org/show_bug.cgi?id=694064

13 years agooverviewControls: fix math for translations when sliding in
Cosimo Cecchi [Mon, 18 Feb 2013 06:24:40 +0000 (01:24 -0500)]
overviewControls: fix math for translations when sliding in

The math to compute translations was wrong when sliding in; also, don't
depend on the slide value for the translation anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=694064

13 years agolayout: Fix regressions
Adel Gadllah [Mon, 18 Feb 2013 12:14:42 +0000 (13:14 +0100)]
layout: Fix regressions

Commit 6b4f52462071dc9af5b8915afebc8bc340b49ca2 removed the layer checks
_updateFullscreen ... this causes corruption when alt-tabbing out
of a fullscreen window so restore the check.

The commit also removed the screen sized check so we are no longer
setting all monitors to fullscreen. Fix that as well by using
window.is_screen_sized() to perform the check.

https://bugzilla.gnome.org/show_bug.cgi?id=694079

13 years agooverview: Sort windows by travel distance within rows
Adel Gadllah [Sun, 17 Feb 2013 11:12:55 +0000 (12:12 +0100)]
overview: Sort windows by travel distance within rows

Sort windows inside the rows by there travel distance.

https://bugzilla.gnome.org/show_bug.cgi?id=690313

13 years agomessageTray: Fix indentation
Jasper St. Pierre [Mon, 18 Feb 2013 09:37:16 +0000 (04:37 -0500)]
messageTray: Fix indentation

13 years agograbHelper: Fix indentation
Jasper St. Pierre [Sun, 17 Feb 2013 04:27:23 +0000 (23:27 -0500)]
grabHelper: Fix indentation

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agolayout: Reword a comment
Jasper St. Pierre [Sun, 17 Feb 2013 19:10:45 +0000 (14:10 -0500)]
layout: Reword a comment

I don't even know what this was trying to say before...

13 years agooverviewControls: synchronize viewSelector fade and controls slide
Cosimo Cecchi [Mon, 18 Feb 2013 05:17:56 +0000 (00:17 -0500)]
overviewControls: synchronize viewSelector fade and controls slide

If the animation time is not the same for these two, the translation
will be adjusted to the allocation during the tween, resulting in a jump
in the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=694035

13 years agowindowManager: Fix fallback path for icon_geometry animation
Jasper St. Pierre [Sun, 17 Feb 2013 20:01:07 +0000 (15:01 -0500)]
windowManager: Fix fallback path for icon_geometry animation

It doesn't seem like this code was ever tested.

https://bugzilla.gnome.org/show_bug.cgi?id=694052

13 years agoOverview: clip contents to the allocation
Giovanni Campagna [Sun, 17 Feb 2013 21:34:36 +0000 (22:34 +0100)]
Overview: clip contents to the allocation

If they're not clipped, overview controls can leak to secondary monitors
while animating.

13 years agolayout: Call meta_window_* on the meta_window rather then on the actor
Adel Gadllah [Sun, 17 Feb 2013 20:47:09 +0000 (21:47 +0100)]
layout: Call meta_window_* on the meta_window rather then on the actor

13 years agooverviewControls: reset any translation when sliding in for drag
Cosimo Cecchi [Sun, 17 Feb 2013 20:44:33 +0000 (15:44 -0500)]
overviewControls: reset any translation when sliding in for drag

Fixes the dash not sliding when dragging an app from the search results.

13 years agolayout: Use window.is_monitor_sized
Adel Gadllah [Sun, 17 Feb 2013 20:27:40 +0000 (21:27 +0100)]
layout: Use window.is_monitor_sized

Mutter now provides a method for this, so use it.

13 years agoRemove gap between windows when switching workspaces
Hashem Nasarat [Tue, 29 Jan 2013 00:46:29 +0000 (19:46 -0500)]
Remove gap between windows when switching workspaces

Previously there was a distracting gap between workspaces with two full-screen
applications.

https://bugzilla.gnome.org/show_bug.cgi?id=685849

13 years agoFix XDND regression
Adel Gadllah [Sun, 17 Feb 2013 19:45:14 +0000 (20:45 +0100)]
Fix XDND regression

The top_window_group blocks the panel elements from being found by the XDND
pick so hide the whole group from picks as we never attempt to pick its contents
anyway.

13 years agomessageTray: Allow dwell to work in the overview
Adel Gadllah [Sun, 17 Feb 2013 19:13:46 +0000 (20:13 +0100)]
messageTray: Allow dwell to work in the overview

Special case the overview in _trayDwellTimeout because the
tray is hidden by default in the overview now.

13 years agooverviewControls: Fix reallocation cycles
Jasper St. Pierre [Sun, 17 Feb 2013 18:51:51 +0000 (13:51 -0500)]
overviewControls: Fix reallocation cycles

Instead of setting a new height, let the Clutter relayout
machinery do the work for us.

13 years agopressure-barrier: don't discard grabbed events when overview is grabbing
Cosimo Cecchi [Sat, 16 Feb 2013 21:17:11 +0000 (16:17 -0500)]
pressure-barrier: don't discard grabbed events when overview is grabbing

Since we still want to trigger the message tray in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agomain: remove unused function
Cosimo Cecchi [Sat, 16 Feb 2013 21:57:20 +0000 (16:57 -0500)]
main: remove unused function

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agooverviewControls: account for the search entry in each control
Cosimo Cecchi [Sat, 16 Feb 2013 20:36:57 +0000 (15:36 -0500)]
overviewControls: account for the search entry in each control

Account for the search entry space at the bottom (the former message
tray clone) individually in each side control, instead of packing
another actor in the overview.
This allows us to extend the central view all the way to the bottom,
while still keeping controls centered vertically.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agomessageTray: remove overview special handling
Cosimo Cecchi [Sat, 16 Feb 2013 20:34:33 +0000 (15:34 -0500)]
messageTray: remove overview special handling

Don't show the message tray in the overview by default. From now on the
message tray in overview behaves as regularly, i.e. it will slide up the
overview on Super+M keypress.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agoUpdated Polish translation
Piotr Drąg [Sun, 17 Feb 2013 17:36:20 +0000 (18:36 +0100)]
Updated Polish translation

13 years agoCalendar: don't initialize the event source synchronously
Giovanni Campagna [Sun, 17 Feb 2013 14:52:53 +0000 (15:52 +0100)]
Calendar: don't initialize the event source synchronously

We don't want to block the shell start to load evolution-data-server
and open all calendars (which can involve network connections)

https://bugzilla.gnome.org/show_bug.cgi?id=694030

13 years agoScreenShield: don't add the source actor directly to the boxlayout
Giovanni Campagna [Thu, 14 Feb 2013 16:13:13 +0000 (17:13 +0100)]
ScreenShield: don't add the source actor directly to the boxlayout

StBoxLayout always fills on the orthogonal direction, so the icon
becomes distorted as the layout grows to accomodate more details.
Instead, use a bin that aligns at the start.

https://bugzilla.gnome.org/show_bug.cgi?id=693822

13 years agoMessageTray: don't clear the banner text when adding to the body
Giovanni Campagna [Thu, 14 Feb 2013 16:12:26 +0000 (17:12 +0100)]
MessageTray: don't clear the banner text when adding to the body

ScreenShield uses Notification.bannerBodyText to fill the body of detailed
notifications, so use a separate boolean property to indicate it was already
added to the body.

https://bugzilla.gnome.org/show_bug.cgi?id=693822

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 17 Feb 2013 12:51:33 +0000 (13:51 +0100)]
Updated Galician translations

13 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sat, 16 Feb 2013 20:10:09 +0000 (18:10 -0200)]
Updated Brazilian Portuguese translation

13 years agomessageTray: Close menu when clicking outside of the menu
Adel Gadllah [Sat, 16 Feb 2013 18:51:46 +0000 (19:51 +0100)]
messageTray: Close menu when clicking outside of the menu

13 years agomessageTray: Allow opening the context menu on long press
Adel Gadllah [Fri, 15 Feb 2013 15:09:44 +0000 (16:09 +0100)]
messageTray: Allow opening the context menu on long press

Right click does not work for touch devices, so support opening the menu
using long press as well.

https://bugzilla.gnome.org/show_bug.cgi?id=693887

13 years agograbHelper: Ignore key focus changes when ungrabbing
Jasper St. Pierre [Sat, 16 Feb 2013 18:19:44 +0000 (13:19 -0500)]
grabHelper: Ignore key focus changes when ungrabbing

Calling onUngrab() may change key focus, either directly or
indirectly (e.g. hiding the actor). Such key focus changes
would cause an extra actor to be ungrabbed, so make sure to
ignore such focus changes while we're ungrabbing.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Track the grab before trying to set key focus
Jasper St. Pierre [Sat, 16 Feb 2013 17:52:37 +0000 (12:52 -0500)]
grabHelper: Track the grab before trying to set key focus

If we don't this for a nested grabFocus grab, the notify::key-focus
will be called, not think that the new key focus is part of the
grab, and cancel the full grab. This leaves the grab helper in an
inconsistent and confused state, as the grab is pushed onto the
grab stack after.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Correct typo preventing focus-window-changed disconnect
Jasper St. Pierre [Sat, 16 Feb 2013 17:44:04 +0000 (12:44 -0500)]
grabHelper: Correct typo preventing focus-window-changed disconnect

While debugging, I found that the signal to focus-window-changed
was never getting disconnected, making a call to ungrab every time
the focus window changed, even if there were no focus grabs anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Use a mode: js header
Jasper St. Pierre [Sat, 16 Feb 2013 17:41:11 +0000 (12:41 -0500)]
grabHelper: Use a mode: js header

This brings us into consistency with the rest of the modelines

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agoshell-app-system: Ensure that we correctly order subsearches
Jasper St. Pierre [Sat, 16 Feb 2013 04:17:44 +0000 (23:17 -0500)]
shell-app-system: Ensure that we correctly order subsearches

As we use g_slist_prepend for efficiency when building the list
of results before ordering it, we need to make sure we traverse
the list of previous results backwards so that it's built in
the same order.

https://bugzilla.gnome.org/show_bug.cgi?id=693936

13 years agoviewSelector: block show apps button checked signal when resetting state
Cosimo Cecchi [Sat, 16 Feb 2013 17:55:59 +0000 (12:55 -0500)]
viewSelector: block show apps button checked signal when resetting state

When we reset the state of the checked button due to the overview
showing and hiding, block the normal checked callback and immediately
switch to the workspaces page, so that windows seamlessly fade in.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: make the old page fade-out optional
Cosimo Cecchi [Sat, 16 Feb 2013 17:59:54 +0000 (12:59 -0500)]
viewSelector: make the old page fade-out optional

When leaving the overview, we don't want the old page to fade out, but
we want to fade in the windows directly.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: always reset search string when entering overview
Cosimo Cecchi [Sat, 16 Feb 2013 17:54:19 +0000 (12:54 -0500)]
viewSelector: always reset search string when entering overview

Instead of relying on the apps button callback to do it for us.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: don't use resetShowAppsButton when pressing escape
Cosimo Cecchi [Sat, 16 Feb 2013 17:50:25 +0000 (12:50 -0500)]
viewSelector: don't use resetShowAppsButton when pressing escape

Set the checked property explicitly. This is because
resetShowAppsButton() will only be used to flip the button state
blocking the page change in a future commit.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agooverview: change _hideInProgress to visibleTarget
Cosimo Cecchi [Sat, 16 Feb 2013 17:45:10 +0000 (12:45 -0500)]
overview: change _hideInProgress to visibleTarget

And use it in overviewControls. When we moved this code from overview.js
to overviewControls.js we lost a condition so we now slide in controls
even when going back from the overview, which looks bad.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agooverviewControls: reset translation as well when entering overview
Cosimo Cecchi [Sat, 16 Feb 2013 16:57:58 +0000 (11:57 -0500)]
overviewControls: reset translation as well when entering overview

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agosearch: Don't run a full search for equal terms
Jasper St. Pierre [Sat, 16 Feb 2013 04:15:13 +0000 (23:15 -0500)]
search: Don't run a full search for equal terms

Due to the timeout on the search entry, it's possible for
a very quick edit to the entry to launch a subsearch on the
same search string.

https://bugzilla.gnome.org/show_bug.cgi?id=693937

13 years agosearch: Simplify and correct behavior for substring searches
Jasper St. Pierre [Sat, 16 Feb 2013 04:10:42 +0000 (23:10 -0500)]
search: Simplify and correct behavior for substring searches

Early on, search was based on a list of terms, which was like a set
of tags, in that terms were OR'd, and that order didn't matter. As
such, modifying any one of the terms wouldn't produce new results.
Nowadays, providers take the order into account, so a substring
should only be the case if new terms are added to the end.

https://bugzilla.gnome.org/show_bug.cgi?id=693935

13 years agoWindowOverlay: remove animations when relayouting
Giovanni Campagna [Sat, 16 Feb 2013 16:26:28 +0000 (17:26 +0100)]
WindowOverlay: remove animations when relayouting

If WindowOverlay.relayout() is called without animation, we must stop
any preexisting animation, otherwise it will continue to run with the
previous parameters and cause the overlay to end up in the wrong position.

https://bugzilla.gnome.org/show_bug.cgi?id=693970

13 years agoshell-keybinding-modes: Don't use expression references
Jasper St. Pierre [Sat, 16 Feb 2013 05:31:26 +0000 (00:31 -0500)]
shell-keybinding-modes: Don't use expression references

This confuses the gobject-introspection scanner, silently
making SHELL_KEYBINDING_MODE_NONE into -1.

https://bugzilla.gnome.org/show_bug.cgi?id=693940

13 years agooverviewControls: use translations for explicit slide in/out
Cosimo Cecchi [Sat, 16 Feb 2013 01:50:26 +0000 (20:50 -0500)]
overviewControls: use translations for explicit slide in/out

The slideX property controls the allocation of the view selector; since
we now know when there are no visible views from the page-empty signal,
we can use it to set the full slideX for the next page at that time,
allowing the new view to fade in with the right width.
This allows us to use simple x translations for the side components when
switching pages, keeping the noise due to resizes at the minimum.

The slideX resize for now is kept for DnD, and will always be needed for
the thumbnails box when showing the windows page.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agooverviewControls: split out an util function
Cosimo Cecchi [Sat, 16 Feb 2013 01:43:01 +0000 (20:43 -0500)]
overviewControls: split out an util function

Will be used later

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agooverviewControls: make dash private
Cosimo Cecchi [Fri, 15 Feb 2013 23:26:24 +0000 (18:26 -0500)]
overviewControls: make dash private

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agooverview: move controls visibility handling to a separate object
Cosimo Cecchi [Fri, 15 Feb 2013 23:25:36 +0000 (18:25 -0500)]
overview: move controls visibility handling to a separate object

This keeps the core code of the overview clean and will help
coordinate animations.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agooverview: move ctrlAltTab handling to Dash
Cosimo Cecchi [Fri, 15 Feb 2013 23:23:15 +0000 (18:23 -0500)]
overview: move ctrlAltTab handling to Dash

This is also what the panel does.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agoviewSelector: emit a signal when the view is empty
Cosimo Cecchi [Sat, 16 Feb 2013 01:43:45 +0000 (20:43 -0500)]
viewSelector: emit a signal when the view is empty

This is very a useful point in time when the size of the side controls
can change without affecting any visible view. Emit a signal at that
time.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agoviewSelector: don't crossfade between pages
Cosimo Cecchi [Thu, 24 Jan 2013 06:35:19 +0000 (01:35 -0500)]
viewSelector: don't crossfade between pages

Instead, wait until the first animation is completed before switching to
the second page.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agoUse the right conversion from cairo to GdkPixbuf
Giovanni Campagna [Sat, 16 Feb 2013 02:50:28 +0000 (03:50 +0100)]
Use the right conversion from cairo to GdkPixbuf

GdkPixbuf is stored in memory as individual bytes, in strict red-green-blue-alpha
order, while cairo image surfaces are stored as 32bits units whose
order depends on the endianess.
It is probably possible to do something better, taking advantage
of cogl and the GL using the actual component order, but for now
it is easier to use the GDK utility to convert the cairo surface.

https://bugzilla.gnome.org/show_bug.cgi?id=693931

13 years agonetworkAgent: Don't register/unregister, just refuse to handle requests
Jasper St. Pierre [Thu, 14 Feb 2013 22:09:31 +0000 (17:09 -0500)]
networkAgent: Don't register/unregister, just refuse to handle requests

https://bugzilla.gnome.org/show_bug.cgi?id=693746

13 years agolayout: Remove _addBarrierEvent
Jasper St. Pierre [Fri, 15 Feb 2013 02:22:49 +0000 (21:22 -0500)]
layout: Remove _addBarrierEvent

Moving it inline to when we get the event means that we can
remove the duplicate call to _getDistanceAcrossBarrier.

https://bugzilla.gnome.org/show_bug.cgi?id=693854

13 years agolayout: Fix old event removal
Jasper St. Pierre [Fri, 15 Feb 2013 02:21:20 +0000 (21:21 -0500)]
layout: Fix old event removal

If we increment our index variable while looping, this means that
firstNewEvent will be one higher than it should. With a length 1
array, all events will be removed, so this has a cascading effect
that events will not be stored at all.

https://bugzilla.gnome.org/show_bug.cgi?id=693854

13 years agoNetworkMenu: use async initialization for libnm-glib objects
Giovanni Campagna [Mon, 3 Sep 2012 17:57:53 +0000 (19:57 +0200)]
NetworkMenu: use async initialization for libnm-glib objects

NMClient recently got more heavyweight, with a property holding supported
connections. As fully initializing a NMObject is a recursive operation
and requires multiple DBus calls, switch to async initalization for NMClient
and NMRemoteSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=683288

13 years agoUpdated Lithuanian translation
Aurimas Černius [Fri, 15 Feb 2013 19:49:34 +0000 (21:49 +0200)]
Updated Lithuanian translation

13 years agounlockDialog: fix another occurrence of add_watch => add_idle_watch
Cosimo Cecchi [Fri, 15 Feb 2013 17:19:49 +0000 (12:19 -0500)]
unlockDialog: fix another occurrence of add_watch => add_idle_watch

https://bugzilla.gnome.org/show_bug.cgi?id=693909

13 years agokeyboard: Don't show the keyboard when enabled
Bastien Nocera [Thu, 31 Jan 2013 22:40:51 +0000 (23:40 +0100)]
keyboard: Don't show the keyboard when enabled

https://bugzilla.gnome.org/show_bug.cgi?id=692773

13 years agoscreenShield: Fix crash with the idle monitor
Jasper St. Pierre [Fri, 15 Feb 2013 12:59:23 +0000 (07:59 -0500)]
screenShield: Fix crash with the idle monitor

13 years agoUpdated Serbian translation
Мирослав Николић [Fri, 15 Feb 2013 11:25:30 +0000 (12:25 +0100)]
Updated Serbian translation

13 years agobuild: Bump gtk+ requirement to 3.7.9
Rico Tzschichholz [Fri, 15 Feb 2013 08:41:01 +0000 (09:41 +0100)]
build: Bump gtk+ requirement to 3.7.9

Needed by 7fc2b33a0a16c9f821d8bea5190001efb1a41aa7

13 years agoUpdate to new GnomeIdleMonitor API
Jasper St. Pierre [Fri, 18 Jan 2013 05:24:32 +0000 (00:24 -0500)]
Update to new GnomeIdleMonitor API

https://bugzilla.gnome.org/show_bug.cgi?id=688227

13 years agokeyboard: respect "center" alignment of keys
Daiki Ueno [Mon, 20 Aug 2012 03:22:37 +0000 (12:22 +0900)]
keyboard: respect "center" alignment of keys

https://bugzilla.gnome.org/show_bug.cgi?id=679925

13 years agotweener: follow org.gnome.desktop.interface enable-animations
Cosimo Cecchi [Sat, 26 Jan 2013 08:41:46 +0000 (03:41 -0500)]
tweener: follow org.gnome.desktop.interface enable-animations

Disable the animations by making the animation time a very small value.

https://bugzilla.gnome.org/show_bug.cgi?id=655746

13 years agoendSessionDialog: don't use Tweener for the timer
Cosimo Cecchi [Sat, 26 Jan 2013 08:01:41 +0000 (03:01 -0500)]
endSessionDialog: don't use Tweener for the timer

We want to make Tweener short-circuit animations when resources are
constrained, so this is not going to work.
Instead, use a one-second timeout until the seconds left reach zero.

https://bugzilla.gnome.org/show_bug.cgi?id=655746